#pragma once
#include <QFrame>


class newFrame : public QFrame
{
    Q_OBJECT
public:
    explicit newFrame(QWidget *parent = nullptr);
    ~newFrame();

    void setPaintBk(const bool& bPaint) { m_bHaveBk = bPaint; }

protected:
    void paintEvent(QPaintEvent *) override;

private:
    bool m_bHaveBk = true;
};
